<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title>乐折吧</title>
<meta charset="utf-8">


<meta name="author" content="5by5 Studios">
<meta name="keywords" content="乐折吧 折扣 团购 团购导航">
<meta name="viewport" content="width=970">

<!-- css -->
<link href="/css/reset.css" media="screen" rel="stylesheet" type="text/css">
<link href="/css/960.css" media="screen" rel="stylesheet" type="text/css">
<link href="/css/screen.css" media="screen" rel="stylesheet" type="text/css">
<link href="/css/core.css" media="screen" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/base/jquery-ui.css" type="text/css" media="all" /> 



<!-- javascript -->
<script src="/js/deallist.js" type="text/javascript" charset="utf-8"></script> 





</head>
<body>


<div id="content" class="episodes">
<input   name= "page"   type= 'hidden'   value= <s:property value='page'/> id="page">
<input   name= "total"   type= 'hidden'   value= <s:property value='total'/> id="total">

<input   name= "cityName"   type= 'hidden'   value="<s:property value='cityName'/>" id="cityName">
<input   name= "cateId"   type= 'hidden'   value=<s:property value='cateId'/> id="cateId">
<input   name= "key"   type= 'hidden'   value="<s:property value='key'/>" id="key">

   <div class="container_12">
		<s:if test="dealList.size() > 0">
    	 <div id="dealListPageBegin" style="padding:10px 20px;">
    	 </div>
    	<s:iterator value="dealList" status="index">
    	<s:if test="(#index.index+3)/3 == 0">
    	<div class="clear"></div>
    	</s:if>
    	
    	<div class="grid_4 episode thumbnail tuan_div">
            	<ul>
            		<li>
						<a target="_blank" href="<s:property value='dealUrl'/>" title="<s:property value='dealDesc'/>">
                        	<img alt="<s:property value='dealDesc'/>" class="picture shadow" height="162" src="<s:property value='dealImg'/>" width="288"></a>
					</li>
                  
                    <s:if test="#index.index < 3">
    	  <li>
    	  <a target="_blank"  href="<s:property value='dealUrl'/>" title="<s:property value='dealDesc'/>">
                            <img alt="New-80x80" class="ribbon_overlay" height="80" src="/img/temp/new-80x80.png" width="80"></a>
					</li>
    	</s:if>
						
                    <li class="tuan_content_a">
                    	<a target="_blank"  href="<s:property value='dealUrl'/>" title="<s:property value='dealDesc'/>"><s:property value='dealTitle.length()>45? dealTitle.substring(0,45):dealTitle'/></a>
	  				</li>
                    <li>	
                    	<a  class="tuan_button_a" href="<s:property value='dealUrl'/>" title="<s:property value='dealTips'/>">
                        <span class="tuan_zhekou_span"><span style="color:blue;padding-right:10px;"></span> <del>￥<s:property value='value'/></del>|<s:property value='rebate'/>折 </span>
                        <span class="tuan_button_a">￥<s:property value='price'/></span>
                        </a>
      				</li> 
       			</ul>
</div>


    	</s:iterator>	

    	</s:if>
    	<s:else>
    	  没有符合您想要查找的团购！
    	</s:else>		

<div class="clear"></div>
    	     	 <div id="dealListPageEnd" style="padding:0px 10px;">
    	    	 </div>
	</div>
</div>

</body>
</html>